package com.feihao.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author feihao
 * @since 2021-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TbUser implements Serializable {

    //设置id生成策略:AUTO 数据库自增
//    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("user_name")
    private String userName;

    private String password;
    private String name;
    private Integer age;
    private String email;

    @TableField(exist = false)
    private String info;


}
